package com.yhou.demo.search.enums;

/**
 * @Author: zhaodongdong
 * @Date: Created in 下午4:36 2018/6/12
 */
public class EsConstant {

    public static final String INTEGER = "java.lang.Integer";

    public static final String LONG = "java.lang.Long";

    public static final String FLOAT = "java.lang.Float";
    public static final String DOUBLE = "java.lang.Double";

    public static final String DATE = "java.util.Date";

    public static final String STRING = "java.lang.String";

    public static final String ES_INTEGER = "integer";

    public static final String ES_LONG = "long";

    public static final String ES_KEYWORD = "keyword";

    public static final String ES_DATE = "date";

    public static final String ES_FLOAT = "float";

    public static final String ES_DOUBLE = "double";

    public static final String TYPE = "type";

    public static final String FIELD_FORMAT = "format";

    public static final String FIELD_PROPERTIES = "properties";

    public static final String FIELD_SHARDS = "number_of_shards";

    public static final String FIELD_REPLICAS = "number_of_replicas";

    public static final String FIELD_INTERVAL = "refresh_interval";

    public static final String NUMBER_OF_SHARDS = "3";

    public static final Integer NUMBER_OF_REPLICAS = 1;

    public static final String REFRESH_INTERVAL = "1s";

}

